Linearity in Parameters with R